<ui:composition xmlns="http://www.w3.org/1999/xhtml"
   xmlns:ui="http://java.sun.com/jsf/facelets"
   xmlns:h="http://java.sun.com/jsf/html"
   xmlns:f="http://java.sun.com/jsf/core"
   xmlns:rich="http://richfaces.org/rich"
   xmlns:a4j="http://richfaces.org/a4j"
     xmlns:rss4jsf="http://hexiao.cn/rss4jsf"
     xmlns:jsp="http://java.sun.com/JSP/Page">


<script type="text/javascript">
  
//<![CDATA[


// Courtesy of SimplytheBest.net (http://simplythebest.net/info/dhtml_scripts.html)
function checkBrowser(){
	this.ver=navigator.appVersion
	this.dom=document.getElementById?1:0
	this.ie8=(this.ver.indexOf("MSIE 8")>-1 && this.dom)?1:0;
	
	this.ie7=(this.ver.indexOf("MSIE 7")>-1 && this.dom)?1:0;
	this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom)?1:0;
	//this.ie4=(document.all && !this.dom)?1:0;
	this.ns5=(this.dom && parseInt(this.ver) >= 5) ?1:0;
	this.ns4=(document.layers && !this.dom)?1:0;
	this.bw=(this.ie8 || this.ie7 || this.ie5 || this.ie4 || this.ns4 || this.ns5)


	return this
}
bw=new checkBrowser()

lstart=150
loop=true
esquerra = 2
// Velocidad
speed=100
pr_step=3

function makeObj(obj,nest){

	this.el=bw.dom?document.getElementById(obj):bw.ie8;  	
	this.css=bw.dom?document.getElementById(obj).style:bw.ie8; 
  	this.scrollHeight=bw.ns4?this.css.document.height:this.el.offsetHeight

	this.newsScroll=newsScroll;
	this.moveIt=b_moveIt; this.x; this.y;
	if (bw.ie8 !=1)
    	eval(this.obj + "=this")

    return this
}


function b_moveIt(x,y){
	this.x=x;this.y=y
	this.css.left=this.x + "px"
	this.css.top=this.y + "px"
}
function newsScroll(speed){
	if(this.y>-this.scrollHeight){
		this.moveIt(esquerra,this.y-pr_step)
		
		setTimeout(this.obj+".newsScroll("+speed+")",speed)
	}else if(loop) {
		this.moveIt(esquerra,lstart)
		eval(this.obj+".newsScroll("+speed+")")
	  }
}
function newsScrollInit(){
	
	oNewsCont=new makeObj('divNewsCont')
	oNewsScroll=new makeObj('divNewsText','divNewsCont')
	oNewsScroll.moveIt(esquerra,lstart)
	oNewsCont.css.visibility='visible'
	oNewsScroll.newsScroll(speed)
	//alert("hola2")

}


function newsScrollInitIE8(){
	lstart=1;
	oNewsCont=new makeObj('divNewsCont')
	oNewsScroll=new makeObj('divNewsText','divNewsCont')
	oNewsScroll.moveIt(esquerra,lstart)
	oNewsCont.css.visibility='visible'
		
	if (bw.ie8 !=1)
		oNewsScroll.newsScroll(speed)
	//alert("hola2")
		

}


if (bw.ie8 !=1)
	window.onload=newsScrollInit;   
else
	window.onload=newsScrollInitIE8;

//]]>
</script>
  
  
<ui:include src="widgetTwitter.xhtml" />  
  
  
<div class="contentplace3">
<div class="topplace3">
<img src="http://img577.imageshack.us/img577/8280/8a8wfyt0.png" alt="" width="20" height="20" class="placeborder3" style="display: none" />
</div>

<p>


<a4j:outputPanel >

<table cellspacing="0px" cellpadding="5px" style="">	
	<tr>
		<td>
	
			<h:outputText escape="false" value="  Últimas Noticias" styleClass="texteOutput14"/>
		</td>	
			
		
	</tr>
	<tr>		
		<td>	
			
			<div id="divNewsCont" style="position:relative;  height:150px; overflow:hidden; top:10px; left:0px; clip:rect(0,150,100,0); visibility:hidden">
			<div id="divNewsText" style="position:relative; top:10px; left:0px">
			
			<rss4jsf:simpleRssOutput
			url="http://ultimesnoticieses.blogspot.com/feeds/posts/default?alt=rss"
		    count="14"
		    channelVar="channel"
		    itemVar="items"
		    rssEntryTitleStyleClass="test2"
		    rssSiteNameStyleClass="test2"
		    rssSiteStyleClass="test2"
		    rssEntryStyleClass="test2"
		    postTimeStyleClass="test2"
		    entrySummaryStyleClass="test2"
		    readMoreStyleClass="test2">

		    <f:facet name="item">
		    
		    	<a4j:outputPanel id="noticies">
		    	
		    	<h:panelGrid>
		         
		         	<h:outputText  escape="false" value="#{items.title}" styleClass="texteOutput12Black" />
		                  
		        	<h:outputText  escape="false" value="#{items.body}" styleClass="texteOutput"/>
		        
		         </h:panelGrid>
		         <br></br>
				</a4j:outputPanel>                    
		                  
		    </f:facet>

		</rss4jsf:simpleRssOutput>
			
			</div>
			</div>	
			
			</td>
		</tr>

	</table>


	<div id="temp" style="visibility:hidden;position:absolute;top:-50;up:-100"></div>
</a4j:outputPanel>



</p>


	<div class="bottomplace3">
	<img src="http://img225.imageshack.us/img225/7538/duz2um83.png" alt="" width="20" height="20" class="placeborder3" style="display: none" />
	</div>
</div>

  
</ui:composition>
